﻿
Public Class frmQuanLyNhaSach

    Private Sub btnBar_NhapSach_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBar_NhapSach.Click
        PanelMain.Controls.Clear()
        PanelMain.Controls.Add(UcThemSach)
    End Sub

    Private Sub btnBar_PhieuNhapSach_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBar_PhieuNhapSach.Click
        PanelMain.Controls.Clear()
        PanelMain.Controls.Add(UcNhapSach)
    End Sub

    Private Sub btnBar_DSSach_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBar_DSSach.Click
        PanelMain.Controls.Clear()
        UcDSSach.LoadSach()
        PanelMain.Controls.Add(UcDSSach)
    End Sub

    Private Sub btnBar_DoiQD_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBar_DoiQD.Click
        PanelMain.Controls.Clear()
        UcQuyDinh.Load_QuyDinh()
        PanelMain.Controls.Add(UcQuyDinh)
    End Sub

    Private Sub btnBar_LapHD_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBar_LapHD.Click
        PanelMain.Controls.Clear()
        PanelMain.Controls.Add(UcHoaDon)
    End Sub

    Private Sub btnBar_LapPT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBar_LapPT.Click
        PanelMain.Controls.Clear()
        PanelMain.Controls.Add(UcPhieuThu)
    End Sub

    Private Sub btnbar_TraCuu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnbar_TraCuu.Click
        PanelMain.Controls.Clear()
        PanelMain.Controls.Add(UcTimKiem)
    End Sub
End Class
